{% extends "::base.html.twig" %}

{% block body %}
    {% for type, messages in app.session.flashbag.all() %}
        {% for key, message in messages %}
            <div class="notice {{ type }}">
                {{ message|trans({}, 'FOSUserBundle') }}
            </div>
        {% endfor %}
    {% endfor %}

    <div>
        {% block fos_user_content %}            
        {% endblock fos_user_content %}
    </div>

{% endblock %}
